@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">
				
            <div class="row">
                <div class="col-sm-6 b-r">
                            <#select id="activityType" name="活动类型">
								<option value="1" >幸运大抽奖</option>
							</#select>
                            <#input id="activityName" name="活动名称" value="${item.activityName}" underline="true"/>
                            <#input id="activityStart" name="活动开始时间" value="${item.activityStart}" underline="true"/>
                            <#input id="activityEnd" name="活动结束时间" value="${item.activityEnd}" underline="true"/>
                            <#input id="activityExplain" name="活动说明" value="${item.activityExplain}" underline="true"/>
                            <#input id="winRate" name="中奖概率:单位%" value="${item.winRate}" />
                </div>

                <div class="col-sm-6">
                            <#input id="lotteryTime" name="每日抽奖次数，默认-1不限" value="${item.lotteryTime}" underline="true"/>
                            <#input id="lotteryExpend" name="每次抽奖支出（金币等）" value="${item.lotteryExpend}" underline="true"/>
                            <#input id="maxWinTime" name="每人最大中奖次数，默认-1不限" value="${item.maxWinTime}" underline="true"/>
                            <#input id="loseExplain" name="未中奖说明" value="${item.loseExplain}" underline="true"/>
                            <#input id="status" name="状态 ：1-有效，0-无效" value="${item.status}" />
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ActivityInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ActivityInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/api/activity/activity_info.js"></script>
@}
